﻿<Window x:Class="PocketBook.Views.PropertyEditorView"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:PropertyGrid="clr-namespace:Microsoft.Windows.Controls.PropertyGrid;assembly=WPFToolkit.Extended" Height="400" Width="400"
        WindowStartupLocation="CenterOwner" Title="Settings">
    <Grid Margin="4">
        <Grid.RowDefinitions>
            <RowDefinition />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>
        <PropertyGrid:PropertyGrid SelectedObject="{Binding Path=Design.Settings}"  DisplaySummary="false" />
        <StackPanel Orientation="Horizontal" Grid.Row="1" HorizontalAlignment="Right" Margin="0,4,0,0">
            <StackPanel.Resources>
                <Style TargetType="{x:Type Button}">
                    <Setter Property="MinWidth" Value="85" />
                </Style>
            </StackPanel.Resources>
            <Button x:Name="Save" Content="OK" IsDefault="true" />
            <Label />
            <Button x:Name="Cancel" Content="Cancel" IsCancel="true" />
        </StackPanel>
    </Grid>
</Window>
